package com.zlzxm.studentscreen.net.websocket;

import org.java_websocket.handshake.ServerHandshake;

/**
 * Created by zlz
 * on  11/18/20
 */
public interface JWebSocketListener {

     void onOpen(ServerHandshake handshakedata);

     void onMessage(String message);

     void onClose(int code, String reason, boolean remote);

     void onError(Exception ex);
}
